package com.wulinbus.dao.script;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.wulinbus.model.ScriptBannerModel;

public interface ScriptBannerDAO {
	
	public ScriptBannerModel getById(@Param("bid")Integer bid);

	public ScriptBannerModel getOne();
	
	public List<ScriptBannerModel> getListLimit(@Param("limit")Integer limit);
	
	public List<ScriptBannerModel> getList(@Param("start")Integer start, @Param("count")Integer count);

	public Integer getListCount();
	
	public Integer insert(ScriptBannerModel banner);

	public Integer update(ScriptBannerModel banner);

	public Integer delete(@Param("bid")Integer bid);
}
